package com.bwda.dsrs.filecenter.domain.vo.dbscanresult;

import com.bwda.dsrs.filecenter.domain.vo.datatype.DataTypeVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * Db scan result table list vo
 *
 * @author Administrator
 */
@Data
@ApiModel(description = "敏感字段扫描结果表")
public class DbScanResultTableListVo {

	@ApiModelProperty(value = "数据库id")
	private Integer dbId;
	@ApiModelProperty(value = "数据库ip")
	private String dbIp;
	@ApiModelProperty(value = "数据库名称")
	private String dbName;

	@ApiModelProperty(value = "表内容")
	private List<TableList> tableLists;

	/**
	 * Table list
	 */
	@Data
	public static class TableList{
		@ApiModelProperty(value = "表名")
		private String tableName;
		@ApiModelProperty(value = "匹配到的标签")
		private String label;
		@ApiModelProperty(value = "敏感类型")
		private List<DataTypeVo> dataTypeVoList ;
	}
}